Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CF Push: A better fix for the token expiry issue #4289

Merged
merged 1 commit into from
May 13, 2020

Conversation

nwmac
Copy link
Contributor

@nwmac nwmac commented May 13, 2020

This is a better fix for token expiry during CF Push.

We now refresh the token if needed before each API request that the CF CLI code makes. We also make sure that is is always using the latest auth token, in case Stratos has refreshed the token while the push is in progress.

Also fixed a bug where we had an unnecessary singleton which could cause issues with concurrent pushes.

@nwmac nwmac self-assigned this May 13, 2020
@nwmac nwmac requested a review from richard-cox May 13, 2020 11:23
@richard-cox richard-cox merged commit cdf0f53 into master May 13, 2020
@richard-cox richard-cox deleted the cf-push-token-expiry branch May 13, 2020 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants